/**
 * Celebrio Buttonizer
 * 
 * turns selected objects to Celebrio buttons
 *
 * @copyright  Copyright (c) 2011 Celebrio Software
 * @package    Celebrio
 */

function butonize(selector){
    $(document).ready(function(){
        $(selector).css("background","#eee").css({
            display: "block",
            cursor: "pointer",
            height: "50px",
            padding: "0px 15px",
            background: "-moz-linear-gradient(left, #f3f3f3, #d7d7d7)",
            backgroundImage: "-webkit-linear-gradient(left, #f3f3f3, #d7d7d7)",
            borderRadius: "3px",
            fontFamily: "XXIISinozDSPRegular",
            fontWeight: "normal",
            "-webkit-box-shadow": "0px 0px 10px #000000",
            boxShadow: "0px 0px 10px #000000",
            fontSize: "20pt",
            border: "none"
        }).mouseover(function(){
            $(this).css({"-webkit-box-shadow":"0px 0px 10px #000000,inset 0px 0px 10px #888","box-shadow":"0px 0px 10px #000000,inset 0px 0px 10px #888"});
        }).mouseout(function(){
            $(this).css({"-webkit-box-shadow":"0px 0px 10px #000000","box-shadow":"0px 0px 10px #000000"});
        });
    });
}